<?php
namespace yida\controllers;

use yii\web\Controller;

/**
 * 默认控制器类
 * Class MainController
 * @package yida\controllers
 */
class MainController extends Controller
{
    /**
     * 默认动作
     * @return array
     */
    public function actionIndex()
    {
        return [
            'code' => 0,
            'message' => 'success',
            'data' => 'Hello micro-bees'
        ];
    }

}